/* This file is part of SpaceSim.
 
 SpaceSim is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation, either version 3 of the License, or
 (at your option) any later version.
 
 SpaceSim is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License
 along with SpaceSim.  If not, see <http://www.gnu.org/licenses/>. */

// If you don't have TR1, anything with a reasonable random generator will do
#include <tr1/random>

#ifndef RANDOM_H
#define RANDOM_H

namespace Random {
	extern std::tr1::mt19937 int_engine;
	extern std::tr1::ranlux64_base_01 float_engine;
	void Seed(int seed);
	int Rand(int min, int max);
	float Rand(float min, float max);
	int NormalRand(int min, int max);
	float NormalRand(float min, float max);
	double NormalRand(double min, double max);
	float GammaRand(float k);
	float ExponentialRand(float lambda);
}

#endif